[INFO] cloning repository https://github.com/Carglass/youlex-git
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Carglass/youlex-git" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarglass%2Fyoulex-git", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarglass%2Fyoulex-git'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 40a368f45f67dd21a480bc3c1b4dcfa809a37faa
[INFO] building Carglass/youlex-git against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarglass%2Fyoulex-git" "/workspace/builds/worker-8/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Carglass/youlex-git on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Carglass/youlex-git
[INFO] finished tweaking git repo https://github.com/Carglass/youlex-git
[INFO] tweaked toml for git repo https://github.com/Carglass/youlex-git written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate git repo https://github.com/Carglass/youlex-git already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1fb72bfd1f3d18bb66ee7896bf5de6a6b050d831fb25df3b959662de6c4b43f7
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "1fb72bfd1f3d18bb66ee7896bf5de6a6b050d831fb25df3b959662de6c4b43f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1fb72bfd1f3d18bb66ee7896bf5de6a6b050d831fb25df3b959662de6c4b43f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1fb72bfd1f3d18bb66ee7896bf5de6a6b050d831fb25df3b959662de6c4b43f7", kill_on_drop: false }`
[INFO] [stdout] 1fb72bfd1f3d18bb66ee7896bf5de6a6b050d831fb25df3b959662de6c4b43f7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1985069872abbd3694a1272709445b93524ebbc9572c73b266a01f1b23ed4daf
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "1985069872abbd3694a1272709445b93524ebbc9572c73b266a01f1b23ed4daf", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.12
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.18
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling smallvec v1.4.0
[INFO] [stderr]    Compiling serde v1.0.106
[INFO] [stderr]    Compiling ryu v1.0.4
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling itoa v0.4.5
[INFO] [stderr]    Compiling openssl-probe v0.1.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.4
[INFO] [stderr]    Compiling unicode-normalization v0.1.12
[INFO] [stderr]    Compiling quote v1.0.4
[INFO] [stderr]    Compiling jobserver v0.1.21
[INFO] [stderr]    Compiling cc v1.0.52
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling libz-sys v1.0.25
[INFO] [stderr]    Compiling openssl-sys v0.9.55
[INFO] [stderr]    Compiling libssh2-sys v0.2.17
[INFO] [stderr]    Compiling libgit2-sys v0.12.5+1.0.0
[INFO] [stderr]    Compiling url v2.1.1
[INFO] [stderr]    Compiling git2 v0.13.5
[INFO] [stderr]    Compiling serde_derive v1.0.106
[INFO] [stderr]    Compiling serde_json v1.0.52
[INFO] [stderr]    Compiling youlex-git v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]    --> src/main.rs:121:34
[INFO] [stdout]     |
[INFO] [stdout] 121 |             let node_callback = |node: Node, info_array: Vec<(git2::Oid, i32)>| -> (git2::Oid, i32) {
[INFO] [stdout]     |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root`
[INFO] [stdout]    --> src/main.rs:118:21
[INFO] [stdout]     |
[INFO] [stdout] 118 |         if let Some(root) = &self.contents {
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_root`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node_callback`
[INFO] [stdout]    --> src/main.rs:121:17
[INFO] [stdout]     |
[INFO] [stdout] 121 |             let node_callback = |node: Node, info_array: Vec<(git2::Oid, i32)>| -> (git2::Oid, i32) {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_callback`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `self_callback`
[INFO] [stdout]   --> src/main.rs:32:69
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn walk<C, D, E>(&self, self_callback: C, leaf_callback: D) -> E
[INFO] [stdout]    |                             ------------- move occurs because `self_callback` has type `C`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 32 |                 TreeItem::Node(node) => children_res.push(node.walk(self_callback, leaf_callback)),
[INFO] [stdout]    |                                                                     ^^^^^^^^^^^^^ value moved here, in previous iteration of loop
[INFO] [stdout]    |
[INFO] [stdout] help: consider further restricting this bound
[INFO] [stdout]    |
[INFO] [stdout] 20 |         C: Fn(&Node, Vec<E>) -> E + Copy,
[INFO] [stdout]    |                                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `leaf_callback`
[INFO] [stdout]   --> src/main.rs:34:59
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn walk<C, D, E>(&self, self_callback: C, leaf_callback: D) -> E
[INFO] [stdout]    |                                               ------------- move occurs because `leaf_callback` has type `D`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 32 |                 TreeItem::Node(node) => children_res.push(node.walk(self_callback, leaf_callback)),
[INFO] [stdout]    |                                                                                    ------------- value moved here, in previous iteration of loop
[INFO] [stdout] 33 |                 // execute leaf callback on a leaf, push the result into our vec
[INFO] [stdout] 34 |                 TreeItem::Leaf(leaf) => children_res.push(leaf_callback(&leaf)),
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] help: consider further restricting this bound
[INFO] [stdout]    |
[INFO] [stdout] 21 |         D: Fn(&Leaf) -> E + Copy,
[INFO] [stdout]    |                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0594]: cannot assign to `self.contents` which is behind a `&` reference
[INFO] [stdout]    --> src/main.rs:113:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |     fn push_contents(&self, node: Node) {
[INFO] [stdout]     |                      ----- help: consider changing this to be a mutable reference: `&mut self`
[INFO] [stdout] 113 |         self.contents = Some(node);
[INFO] [stdout]     |         ^^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be written
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0382, E0594.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `youlex-git`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "1985069872abbd3694a1272709445b93524ebbc9572c73b266a01f1b23ed4daf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1985069872abbd3694a1272709445b93524ebbc9572c73b266a01f1b23ed4daf", kill_on_drop: false }`
[INFO] [stdout] 1985069872abbd3694a1272709445b93524ebbc9572c73b266a01f1b23ed4daf
